package constants

const (
	WoldGroup = "world" //世界聊天频道
	ClubGroup = "club"  //俱乐部聊天频道
)

const (
	ChatGroupWorld = iota + 1
	ChatGroupClub
)

// GetChatGroupName 根据chatGroup 获取频道名
func GetChatGroupName(chatGroup int) string {
	switch chatGroup {
	case ChatGroupWorld:
		return WoldGroup
	case ChatGroupClub:
		return ClubGroup
	default:
		return ""
	}
}
